<template>
  <div>
    <h3>{{msg}}</h3>
  <button @click="goLazy">组件、路由 懒加载</button>
  </div>
</template>

<script>
export default {
  data () {
    return {
      msg: 'Welcome to Your Vue.js App deBug'
    };
  },
  methods: {
    goLazy() {
      this.$router.push({path: '/lazyLoading'});
    }
  }
};
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
</style>
